package com.yjc.springcloud.alibaba.service.impl;

import com.yjc.springcloud.alibaba.service.PaymentService;
import com.yjc.springcloud.bean.CommotResult;
import com.yjc.springcloud.bean.Payment;
import org.springframework.stereotype.Service;

/**
 * @author shkstart
 * @create 2022-08-16 20:16
 */
@Service
public class PaymentServiceImpl implements PaymentService {
    @Override
    public CommotResult<Payment> paymentSQL(Long id) {
        return new CommotResult<>(444, "Payment服务降级返回,---PaymentServiceImpl", new Payment(id, "errorSerial"));
    }
}
